using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Attributes.DomainAttributes;
using Baci.Net.ToolKit.ArcGISProGeoprocessor.Models.Enums;
using System.Collections.Generic;
using System.ComponentModel;

namespace Baci.ArcGIS._AviationTools._Charting._DataManagement
{
    /// <summary>
    /// <para>Generate Airspace Lines</para>
    /// <para>Adds, modifies, or deletes polyline features from coincident edges of airspace polygons.</para>
    /// <para>添加、修改或删除空域面重合边中的折线要素。</para>
    /// </summary>    
    [DisplayName("Generate Airspace Lines")]
    public class GenerateAirspaceLines : AbstractGPProcess
    {
        /// <summary>
        /// 无参构造
        /// </summary>
        public GenerateAirspaceLines()
        {

        }

        /// <summary>
        /// 有参构造
        /// </summary>
        /// <param name="_in_airspace_features">
        /// <para>Input Airspace Features</para>
        /// <para>The polygon feature class containing the airspace boundaries.</para>
        /// <para>包含空域边界的面要素类。</para>
        /// </param>
        /// <param name="_target_airspace_line_features">
        /// <para>Target Airspace Line Features</para>
        /// <para>The polyline feature class containing the airspace line data.</para>
        /// <para>包含空域线数据的折线要素类。</para>
        /// </param>
        /// <param name="_aoi_features">
        /// <para>Area of Interest Features</para>
        /// <para><xdoc>
        ///   <para>The polygon feature class containing the area of interest (AOI) data.</para>
        ///   <para>The tool will use the selected polygon features to filter which airspace lines will be added, modified, or deleted.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>包含感兴趣区域 （AOI） 数据的面要素类。</para>
        ///   <para>该工具将使用所选面要素来过滤将添加、修改或删除的空域线。</para>
        /// </xdoc></para>
        /// </param>
        /// <param name="_preference_table">
        /// <para>Preference Table</para>
        /// <para>The table of preferences that controls how the airspace lines are added, modified, or deleted.</para>
        /// <para>控制如何添加、修改或删除空域线的首选项表。</para>
        /// </param>
        /// <param name="_preference">
        /// <para>Preference</para>
        /// <para><xdoc>
        ///   <para>The name of a preference in the Preference Table parameter. The selected preference controls how the airspace lines are added, modified, or deleted.</para>
        ///   <para>The name of a selected preference in the preference_table parameter. The selected preference controls how the airspace lines are added, modified, or deleted.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>首选项表参数中的首选项名称。所选首选项控制如何添加、修改或删除空域线。</para>
        ///   <para>preference_table 参数中选定首选项的名称。所选首选项控制如何添加、修改或删除空域线。</para>
        /// </xdoc></para>
        /// </param>
        public GenerateAirspaceLines(object _in_airspace_features, object _target_airspace_line_features, object _aoi_features, object _preference_table, object _preference)
        {
            this._in_airspace_features = _in_airspace_features;
            this._target_airspace_line_features = _target_airspace_line_features;
            this._aoi_features = _aoi_features;
            this._preference_table = _preference_table;
            this._preference = _preference;
        }
        public override string ToolboxName => "Aviation Tools";

        public override string ToolName => "Generate Airspace Lines";

        public override string CallName => "aviation.GenerateAirspaceLines";

        public override List<string> AcceptEnvironments => [];

        public override object[] ParameterInfo => [_in_airspace_features, _target_airspace_line_features, _aoi_features, _preference_table, _preference, _updated_airspace_line_features];

        /// <summary>
        /// <para>Input Airspace Features</para>
        /// <para>The polygon feature class containing the airspace boundaries.</para>
        /// <para>包含空域边界的面要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Input Airspace Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _in_airspace_features { get; set; }


        /// <summary>
        /// <para>Target Airspace Line Features</para>
        /// <para>The polyline feature class containing the airspace line data.</para>
        /// <para>包含空域线数据的折线要素类。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Target Airspace Line Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _target_airspace_line_features { get; set; }


        /// <summary>
        /// <para>Area of Interest Features</para>
        /// <para><xdoc>
        ///   <para>The polygon feature class containing the area of interest (AOI) data.</para>
        ///   <para>The tool will use the selected polygon features to filter which airspace lines will be added, modified, or deleted.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>包含感兴趣区域 （AOI） 数据的面要素类。</para>
        ///   <para>该工具将使用所选面要素来过滤将添加、修改或删除的空域线。</para>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Area of Interest Features")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _aoi_features { get; set; }


        /// <summary>
        /// <para>Preference Table</para>
        /// <para>The table of preferences that controls how the airspace lines are added, modified, or deleted.</para>
        /// <para>控制如何添加、修改或删除空域线的首选项表。</para>
        /// <para></para>
        /// </summary>
        [DisplayName("Preference Table")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _preference_table { get; set; }


        /// <summary>
        /// <para>Preference</para>
        /// <para><xdoc>
        ///   <para>The name of a preference in the Preference Table parameter. The selected preference controls how the airspace lines are added, modified, or deleted.</para>
        ///   <para>The name of a selected preference in the preference_table parameter. The selected preference controls how the airspace lines are added, modified, or deleted.</para>
        /// </xdoc></para>
        /// <para><xdoc>
        ///   <para>首选项表参数中的首选项名称。所选首选项控制如何添加、修改或删除空域线。</para>
        ///   <para>preference_table 参数中选定首选项的名称。所选首选项控制如何添加、修改或删除空域线。</para>
        /// </xdoc></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Preference")]
        [Description("")]
        [Option(OptionTypeEnum.Must)]
        public object _preference { get; set; }


        /// <summary>
        /// <para>Updated Airspace Line Features</para>
        /// <para></para>
        /// <para></para>
        /// <para></para>
        /// </summary>
        [DisplayName("Updated Airspace Line Features")]
        [Description("")]
        [Option(OptionTypeEnum.derived)]
        public object _updated_airspace_line_features { get; set; }


        public GenerateAirspaceLines SetEnv()
        {
            base.SetEnv();
            return this;
        }

    }

}